package com.yaolisheng.util.prometheus;

/**
 * @Company: 神州数码信息系统有限公司
 * @Author : yaols
 * @Date: 2022/10/08/19:20
 **/
public class PromConstants {
  /**
   * prometheus-查询SUCCESS
   */
  public static final String SUCCESS = "success";
  /**
   * prometheus-查询参数
   */
  public static final String QUERY = "query";
  /**
   *  Windows主机操作系统信息
   */
  public static final String WINDOWS_OS_INFO = "windows_os_info";
  /**
   *  Windows主机空闲内存量（单位：字节，1GB=1024*1024*1024Bytes）
   */
  public static final String WINDOWS_OS_PHYSICAL_MEMORY_FREE_BYTES = "windows_os_physical_memory_free_bytes";
  /**
   *  Windows主机空闲CPU量（单位：GHZ）
   */
  public static final String WINDOWS_CPU_TIME_TOTAL_IDLE = "sum by (instance) (irate(windows_cpu_time_total{mode=\"idle\"}[1m]))";
  /**
   * Windows主机CPU量--按模式（单位：GHZ）
   */
   public static final String WINDOWS_CPU_TIME_TOTAL_MODE = "sum by (mode) (irate(windows_cpu_time_total[1m]))";
  /**
   * Windows主机空闲GPU量（单位：GB）
   */
  public static final String WINDOWS_GPU_MEMORY_FREE = "memory_free";
}
